html {
    height: 100%;
}

body {
    background-image: url("pic/能天使.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: right;
    height: 100%;
}

#main_div {
    /* 设置布局模式 */
    display: flex;
    /* 水平方向居中对齐 
    justify-content: center;
    */

    /* 水平方向左对齐
    justify-content: flex-start;
    */

    /* 垂直方向居中对齐 
    justify-content: center;
    flex-direction: column;*/

    /* 水平方向设置分居两侧 */
    justify-content: space-between;
}

.son_div {
    background-color: #257781;
    width: 100px;
    height: 100px;
    margin: 10px;
    border: 1px solid #fff;
    position: relative;
    opacity: 0.95;
}

.son_son_div {
    background-color: #fff;
    width: 70px;
    height: 70px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        #000 0, 
        #000 25%,
        transparent 25%,
        transparent 50%,
        #000 50%, 
        #000 75%,
        transparent 75%,
        transparent
    );
    background-size: 10px 10px;
}


#Title {
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    text-shadow: -2px -2px 3px #000;
}

#form_div {
    /* 设置布局模式 */
    display: flex;
    justify-content: left;
    margin-left: 50px;

    /* 设置字体 */
    font-family: "YaHei Consolas Hybrid", "Microsoft YaHei", "SimSun", "宋体", sans-serif;

    /* 设置字体大小 */
    font-size: 20px;

    /* 设置行间距 */
    line-height: 2.5;

    background-color: rgba(26, 26, 26, 0.6);
    width: 22%;
    height: 100%;
    padding-left: 6%;
    color: white;

    /* 设置边框 */
    border: 2px solid #ffffff;
    border-radius: 2px;
}

#keyword_input {
    /* 设置字体 */
    font-family: "YaHei Consolas Hybrid", "Microsoft YaHei", "SimSun", "宋体", sans-serif;

    background-color: rgb(15, 15, 15);

    border: 1px solid #ffffff;

    width: 90%;
    height: 30px;
    color: #fff;
}

#size_selector {
    /* 设置字体 */
    font-family: "YaHei Consolas Hybrid", "Microsoft YaHei", "SimSun", "宋体", sans-serif;

    background-color: rgb(15, 15, 15);

    border: 1px solid #ffffff;

    width: 90%;
    height: 30px;
    color: #fff;
}

.btn {
    /* 设置字体 */
    font-family: "Noto Sans SC", "Microsoft YaHei", "SimSun", "宋体", sans-serif;

    width: 20%;
    height: 30px;

    background-color: rgb(15, 15, 15);
    border: 1px solid #fff;
    color: #fff;
}

#btn_div {
    /* 设置布局模式 */
    display: flex;
    justify-content: space-around;
    margin-right: 25%;
    margin: 5%;
}


footer {
    position: fixed; /* 固定在底部 */
    bottom: 0; /* 距离底部 0 像素 */
    left: 0; /* 距离左侧 0 像素 */
    right: 0; /* 距离右侧 0 像素 */;
    opacity: 0.8;
    background-color: #1f1f1f;
    text-align: center;
    box-shadow: 1px -10px 15px 2px rgb(36, 36, 36);;
    color: #fff;

}

#content_div {
    display: flex;
    justify-content: space-between;
    height: 60%;
}

#result_div {
     /* 设置字体 */
    font-family: "YaHei Consolas Hybrid", "Microsoft YaHei", "SimSun", "宋体", sans-serif;

    /* 设置字体大小 */
    font-size: 20px;

    /* 设置行间距 */
    line-height: 2.5;

    background-color: rgba(26, 26, 26, 0.6);
    width: 22%;
    padding-left: 6%;
    color: white;

    /* 设置边框 */
    border: 2px solid #ffffff;
    border-radius: 2px;

    margin-right: 50px;
    text-align: center;
    
}

#app {
    height: 100%;
}

#pic_div {
    height: 100%;
    background-repeat: no-repeat;
    background-size:contain;
}

#pic_img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持宽高比，完整显示图片 */
    display: block;
    margin: auto;
}